import axios from "@/utils/request";

// 获取支付信息
export const getPayInfo = (orderId)=>{
  return axios({
    url: `/payment/weixin/createNative/${orderId}`,
    method: 'get'
  })
}

// 获取支付信息
export const getPayStatus = (orderId)=>{
  return axios({
    url: `/payment/weixin/queryPayStatus/${orderId}`,
    method: 'get'
  })
}

// 获取我的订单
export const getMyOrder = (page, limit)=>{
  return axios({
    url: `/order/auth/${page}/${limit}`,
    method: 'get'
  })
}
